upper case in read query was causing errors on Ubuntu demo server (due to mysql case sensitivity issues on unix)
Merge remote-tracking branch 'vishwas/mifosx-283'