Fixed out of index crash
Merge pull request #18 from shivaram1190/RemoteSessionsFix

Fixed out of index crash