This update resolves https://jira.duraspace.org/browse/DPS-53: LoopingTaskProducer overproducing tasks.  In addition to fixing the problem a new unit test was added to cover the case of a space that has an item count greater than the max queue size.