Delete records first