[mms] Fix updating flags in dynamic search view (Bug #12594).