Fixed a notice
Added filterRenderType into menu links