Convert ?positional to ?q for REST mode