implemented edge case fix for when updating document in-place. Not totally sure why this hasn't cropped up in meteor core