Site Stats Operator and TopNOperator issues

Hi,

This pull request has following two issues fixed
1. TopN Operator issues
2. Site Stats Operator