Fixing getReminderSchedules.php