Fix for resetting to maximum value on collect if there's more than maximum value resources