Fix divide by zero bug

Minimum Level & Minimum Quantity were accidentally flipped.