Database version compatibility comparison check fixed