Added query for allocating volunteers