mifosx-834 update report parameter query
renaming sql patch