Fix queue exclusive logic