Fixes #154 lastactive and lastvisit can be "0"