In some edge cases, priority may not be set for a ticket

Fixes #40