fix reminderexpired to look at array rather than object