Fix DB query returning ready devices in LoadBalancerCallbacks

fixes bug 1156782

Change-Id: I6efdb32955c1b1f8f3dec7b3b1581e97ea0af4d8
Merge "Fix DB query returning ready devices in LoadBalancerCallbacks"