I'm not crazy about embedded SQL filters inside methods.  Could we move this to an IpRange method?  That will make it easier to maintain.