Inserts now working as expected