Bugfix. Checking if adding AccountancyItem to the queue can be
accomplished (it is not full). If not, flushing the queue and repeating
the add attempt.