issue #22375: meta models shouldn't crash listRelationsBox