Fixing bug that prevented API rendering on read only mode.