Fixed bug

isFromPool could crash if the pool was not set