Redmine 16879: Fixed issues with DOI queues.