Added more error catching. Sample 52000 or so throws a new insert error