Fix loadinplace select with mongo