The retailer says it made a mistake by telling staff they could continue to work if they tested positive.