Added some limit to mako collection size