Function restoreBlockCollections

Restores the blockCollections array.