In macOS High Sierra prior to 10.13.2, a logic issue existed in APFS when deleting keys during hibernation. This was addressed with improved state management.
apple mac os x