Fix pool name validation missing code.