Fix the version check when no database exists
Merge remote-tracking branch 'upstream/development' into autoprocess_frequency