Linear pattern equation must resolve as 1

=IF("Rails"<4,1,("Rails"-2))

So I have a linear component pattern with this formula. The problem is it won't let the equation resolve as 1, is there any other way to achieve the same result? IE no component pattern if "Rails" is less than 4?

SolidworksParts And Features