! Fix depth for unsaved records