Fixed issues with sessions without instruments. Removed debugging console.logs