Best way to handle minimum quantities.

Check repair function first, assuming the item isn't null, otherwise
check the config. If not found, check config.