URL-encode ids passed to Type::deleteById()