Fix typo causing bug in storing activeSessions

Part of fix for Issue #14