Use more efficient indices in sample configuration

When you use the queue to schedule tasks that occur in the feature, the queue can easily grow large. Using correct indices becomes important at that point. 

The current index only filters on status. The proposed two indices are tailored to the tasks the worker performs most: popping an item from the queue and pruning it