Checking types in Select Instruction constructor