Fixed the deleting options bug.