Fix bug that caused exception in self.request

This is an improvement to remove an operand type clash that occurs if you pass in a string and number to self.request