Fixed pattern matching on port queues so that everything compiles