Check for correct uid range