Fix notify_pm conditional