Fixed module filtering in 'modules' drop-down

Modules drop-down shows all modules and module-groups that have non-zero
statistics

Closes bug 1320134

Change-Id: I33ab8de2e3279a72600a55ee9c848a15eeeec378
Merge "Fixed module filtering in 'modules' drop-down"