getAvailableSlots walks through all blocks

 - if getAvailableSlots worked in page-based mode, it didn't walk
   through all the blocks
Merge pull request #59 from slizzered/bugfix-getAvailableSlots_loop

getAvailableSlots walks through all blocks