fix empty contact filter
Merge pull request #1354 from agrajaghh/fix_empty_contact_filter

Fix empty contact filter not working properly