Fix crash is lastCheckins is None