Fix queue desync issue after refresh