Fixed bug where next reminder date is wrong.