Fix error with base configuration when removing agent queue
When the agent was added to a queue with index > at max index of base configuration and then removed from this queue, the base configuration was still marked as different but was in fact equal to active configuration
Closes #894