Only include the priority if it has messages