Fixed #24008 -- ValidationError crashes with list of dicts