Fixed ticketed filter, added filter based on row.check_parameters.occurrences if it exists.
Declare display properly
Merge pull request #176 from CloudyKangaroo/172

Fixes #172