Improved merged_into validation