Fix for invalid priority type sent