Did a better fix for lost indexes. Also introduced $smof_details, whish is the same as $of_options but has the data sorted by key. ;)