Issue #2314077 by mikeryan: Don't merge group dependencies into migration dependencies