fix for trying to get lastState if not lastState was saved to db (#293)
version bump