Optimised missing() for all fill modes