Fixed Minor Bugs in PMT and determining what payment date is