No - read the modifier again - it is only if there are such troops in contact with the REAR edge.
note that trops in contact with your flank do not actually prevent a recoil - the combat results are different from DBM.
Now there is a series of default combat results which reads (more or less...) - destroyed if beaten and with enemy element front edge in contact with your flank or rear, otherwise recoil (unless one of the exceptions listed).
this is quite different from DBM where the combat result was "recoil if beaten", and then under "Recoil" it said (something like) an element cannot recoil if it starts with an enemy element in front edge contact with it's flank or rear edge.
So in DBMM the destruction is not a conversion of a recoil result as with DBM.