Fix master by comparing against slices, not ~