Fixed some SQL in RentPaymentCont.

Just cleaned up the SQL statements a bit, some needed spaces inserted.
Also getting an error related to SELECT EXTRACT(DAY FROM Move_Date) AS
Day - later in the WHERE clause Day is not being recognized for some
reason.