renames inactiveSessions to activeOrInactiveSessions...still bad name; fixes bug
renames inactiveSessions to activeOrInactiveSessions...still bad name; fixes bug

hpn777/nodefix,falconair/nodefix,falconair/nodefix