Added explicit casting to ingredientGetQuality and made final changes