Missing AAAA Records in DNS Cache since v7.17

Since the recent update (potentially v7.17 with DNS refactoring), I have encountered an issue where some of the recently resolved AAAA records no longer appear in the DNS cache. Although certain AAAA records are still visible in the cache, manually resolving an IPv6-enabled hostname does not result in the record being cached. I have verified that this does not seem to be related to TTL.

From a Windows client:

PS C:\Users\ruse> Resolve-DnsName -Name medium.com -Type AAAA -server 192.168.88.1

Name                                           Type   TTL   Section    IPAddress
----                                           ----   ---   -------    ---------
medium.com                                     AAAA   158   Answer     2606:4700:7::a29f:9904
medium.com                                     AAAA   158   Answer     2606:4700:7::a29f:9804

On RouterOS:

[admin@MikroTik] > :put [/ip dns cache find where (name="medium.com" && type="AAAA")] 
*null

Do not see this on RB5009 running 7.17.2

Linux

dig +short -t AAAA @192.168.42.1 medium.com
2606:4700:7::a29f:9904
2606:4700:7::a29f:9804

ROS, about 5s later

> :put [/ip dns cache find where (name="medium.com" && type="AAAA")] 
*b280;*b281

I rebooted my Mikrotik router and now it is working as intended. Could not reintroduce the issue after reboot. This could be a stability issue. Will update when I encounter it again.

Thanks for the help, jbl42.