[TIMOB-6949] table filter does not hide empty headers

https://jira.appcelerator.org/browse/TIMOB-6949