Fix has_reagent returning 0 when you have the exact amount of a reagent required.