Fixed reattaching tmux sessions.