Make sure lastRepeat gets set in the function
Fix crash is lastCheckins is None
Fix it for real
Merge pull request #68 from bschoenfeld/master

Fix debug messaging added in last PR... it was a bit broken