[mms] Fix iteration of Horde_Prefs_Scope object.