Fixed argument check on Register-Pool