Fix attach command
Fixed bug in 'open' command when called from

choose-session