Update merge_groups.cpp

Fix compatibility layer in wesley_merge