fix bug mongo and deep nested arrays