Fix bug where false would not be returned from a thread block