Adjusting AvailableQueue lookup in tasks.py and test changes.