DEADLOCK bug hunting: (orelse) is the guilty, everything else works
improved TLOG validity checking