Block top level domain

I want to block an entire top level domain example .science.
If I add science to the blacklist using wildcard all .science will be block but, so will science.com science.net ect... I don't want to block those. I want to block just .science.
I could always whitelist science.com and science.net but I'd really like to be able to just put a TLD in and block it without having to whitelist domains in .com .net
Could this be done with a custom list rather than the blacklist feature?

I cannot confirm the issue you are seeing.

My wildcard blocklist settings:

No specific other settings (exact matching list does not contain any science related entries):

me@desktop ~ $ host science.net
science.net has address 104.28.25.115
science.net has address 104.28.24.115
science.net has IPv6 address 2400:cb00:2048:1::681c:1973
science.net has IPv6 address 2400:cb00:2048:1::681c:1873
science.net mail is handled by 100 mail.science.net.

me@desktop ~ $ host science.com
science.com has address 198.151.217.186

me@desktop ~ $ host abc.science
abc.science has address 192.168.2.X
abc.science has IPv6 address 2003:89:X:X:X:X:X:X

me@desktop ~ $ host abc.def.ghi.science
abc.def.ghi.science has address 192.168.2.X
abc.def.ghi.science has IPv6 address 2003:89:X:X:X:X:X:X

Pi-hole Query Log (this may look a bit different than your log, but the functionality is unchanged):

Interesting, I just retested and it works exactly like your example. Not sure what I did wrong in my initial testing.
Thanks!!!!