Fix issue where Origin::Selector breaks when sanitized