[modifiers] Fix an inversion in ned modifier

Spotted and corrected by Charles Lesire