Fix minor error in should_notify?