fix edge case with ractive.merge() operations