Mark orphaned blocks in transactions