fixed string comparison failure in google chrome browser
Merge branch 'CORE-1700' of github.com:frontlinesms/frontlinesms2 into CORE-1700