Fixed pagination #209
Inspection box off when debug is not true, closes #217
Merge pull request #218 from romanchyla/fix-pagination

Fix pagination