[PATCH OLK-6.6 017/156] reset: Fix crash when freeing non-existent optional resets