Fixed false positive in new 'x>-1<5' check when using templates