Modify the inner dim check for missing or wrong name dim. It helps checking dim when retrieve = F See merge request !151