prevented errors if when on the pigeonhole page you click submit without selecting a box and made it so it only goes to the pigeonhole page if there are not patients that have both been pigeonholed and not sorted.  Otherwise it sets a session variable for the rank of an unsorted but pigeonholed patient