sanitize empty string params
MOB-1516, address code review comments
Merge pull request #3537 from Wikia/MOB-1516

Mob 1516