Make !is check more specific