Improves notif validation to work better with ActiveRecord.