Hi Bruce
I am going to share with you one of my favorite tricks for cleaning up LIFO/FIFO buckets such as those you describe.
Create a new Account Set in IC called "Clean up LIFO/FIFO". Make sure it is using the Moving Average method of costing. Don't worry about the GL accounts - it is a dummy account set.
Change the messed up item's account set to this new account set, and say OK to the change. Then change it back its original account set, and save. Voila!
Steve