Fix queue clear call.