fix: test if view exist before setting ir_option_loaded option.
fix tested version and @typo
fix: when used for ``reference`` type field, we should bailout.