Fixing a bug in inherited fields.