Another obscure bug - FIXED!