mixing getJobCountByTypes including paused yields 0
Created by: jamesjjk
We are in the process of replacing Kue with Bull and so far so good. However we noticed whilst implementing repeatable jobs that when we yield getJobCountsByType and include 'paused' the result yields 0 whilst there are delayed and active jobs present.
const count = yield _queue.getJobCountByTypes('paused', 'delayed', 'wait', 'active');
//RETURNS 0 (expected positive int)
const count = yield _queue.getJobCountByTypes('delayed', 'wait', 'active');
//RETURNS positive int