make sure min/max are integers in searchNotifications...