Fix a nasty bug that LLVM static analysis caught