Set nav matching to remove all classes before doing the check again.