Fixed check for existing tmux sessions