[fix] Fix .getQueue() and .isEmpty() methods