Merge for dependency filter