Remove insert data.length test to insert objects