Bug 1073977 - To remove redundant filters from Hive query for theme_update_counts

Reduces running time of job by 2 orders of magnitude