Merge pull request #179 from mdlayher/master

Fix session deletion issues