fixes bug 1076908 - ought to call the method rather than refer to the method

coding error where an integer is being compared to method rather than a call of the method.  This PR add the missing  ```()```