Fix type coercion bug in MultiMap