fix bug: priority value is not saved with bulk cases
add check for priority type
Merge pull request #49 from sh1r0/bug942747

fix bug: priority value is not saved with bulk cases