In sidebar.tpl.html, the limit clause should be added *after* the filter clause, otherwise some metrics may not be found
Merge pull request #56 from tsegismont/limitAfterFilter

In sidebar.tpl.html, the limit clause should be added *after* the filter...