Fix errors when try to erase queue before export Products and Customers