--- og_menu.module	2009-01-30 19:59:16.000000000 +0100
+++ og_menu_copy.module	2009-04-29 17:00:01.000000000 +0200
@@ -140,7 +140,8 @@ function og_menu_form_alter(&$form, $for
           //$menus[] = $menu['menu_name'];
           
           foreach ($form['menu']['parent']['#options'] as $key => $item) {
-            $pos = strpos($key, $menu['menu_name']);
+            // adding separator ':' in check, so "menu-abc" is not found in "menu-abcd"
+            $pos = strpos($key, $menu['menu_name'] .':');
             // use === to check position since we're expecting the needle to be in position 0
             if ($pos !== FALSE)
               $filtered[$key] = $item;
