fix deq:length crash on empty q