Handle different schemas for Merging receiver.

WIP. Fix bug in schema compare.