....I..... [RSM-1] fix current monthly RDDS and EPP monthly SLV calculations

Also sql select statements debugging was significantly improved in
this commit.