Repair tests that were broken (no querydefinition stored for requested Document - failed to load mappings)