Fix bug in CPU bind logic