Fixed bug in cases_by_priority_id
Punchards added