[IMP] orm: make error handling more consistent when accessing deleted/filtered records