Is this MongoClient("mongodb://foobar/?w=tag1", array("w" => "tag")) ?
In which case... testcase :)