Fix for fabs locking up, maybe.

Needs more testing, since repro steps are hard to come by.  One of the guys having the problem said it happened every time he tried to build something and ran out of mats.  After the fix, it worked okay for me.