ignore invalid features by using savepoints to rollback after failing inserts. fixes #2