Fixed bug where children would be dropped after moving a term and also
fixed a bug where the SessionFilter was allowing people to hit pages
after their session had expired.