Prevented an error in tonumber() if e argument was not of type string