Fix queue being broken due to mistake merging in priority pool