Fixing mistake in input checks in copy::Scatter