Fixing bug in merging with no dicts