Fixes bug in allocation pools
Merge pull request #107 from Cerberus98/allocation_pool_fix

Fixes bug in allocation pools