Use 'export -f' instead of 'readonly -f' for 'ixquery' for workaround.