Update JustBuyOnceStrategy.java

Tightened conditional expression.