Fixed filtering bug in queue view