Simplify the slot checking/finding loop

We can't compare the names of slots that aren't ->in_use; I knew that,
but I broke it at the last minute by adding "!slot" to the condition.
That just went to show that the loop was too clever by half.