Fixed unexpected behavior for joining empty textboxes