Improves mongodb nested and in condition test