get_next_payment_date was not returning a timestamp