changes check from empty string to null and empty string
Merge pull request #522 from openmrs-codejam-hamburg/TRUNK-3950

TRUNK-3950: changes check from empty string to null and empty string