Fixed error in reminder controller.