This was meant to keep items within 5x of their Jagex price, but the logic was only correct if activePriceThreshold <= 1.0.