Fixed lock elision bug