Minor fix to the declaration assistant when looking up field types of super classes