Unbreak lastsession

#2775 pushed a broken version. This fixes that.

Demo with this patch:

![screen shot 2013-12-17 at 4 51 23 pm](https://f.cloud.github.com/assets/1170914/1769168/e5edacc0-676d-11e3-8a06-1f8275e9554d.png)