Fixed bug where sessions multiple sessions would be possible