Yes, it's database corruption caused by upgrade to 5.0.0 (fixed in 5.0.1, but unfortunately fix will not help if database is already converted).
Bug in upgrade procedure caused instance discovery filters to be replaced with transformation scripts for instance discovery DCIs where transformation scripts were defined. If you don't have lot of instance discovery DCIs best option is to go through them and re-create instance filters manually (or restore only "instd_filter" column in table "items" from database backup).
Best regards,
Victor
Bug in upgrade procedure caused instance discovery filters to be replaced with transformation scripts for instance discovery DCIs where transformation scripts were defined. If you don't have lot of instance discovery DCIs best option is to go through them and re-create instance filters manually (or restore only "instd_filter" column in table "items" from database backup).
Best regards,
Victor