added empty data check
Merge pull request #682 from pramodn02/MIFOSX-800

MIFOSX-800 - added empty data check