fixes for flag sets in Items and Recipes