xrange now show correct error messages when not integer args passed to constructor or contains method