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