Fixed #75

Fixed an issue with inserts/deletes