fix missing return that was breaking build under clang, add ability to delete records