NXP-14625: fix remove, queryAndFetch iterator, MongoDB db init