Fixed issue where setting status would not work when priority was blank.