[IMPROVED] Optimized IDLE Worker Query

Fixes #811