Fixed spec after the supplied number was not an integer.