Fix encoding in maps query.