Fixed the error in creating a new Checkin object in User.get_last_checkin().