Fixed inserting columns so cells are inserted in the correct location