minor changes in compareSlotMarks() function (used to determine slots selected by user)