Fixed wrong boolean expression in determining whether to skip the pool or not