SERVER-13731 make depth limit in parsing work for deep trees other than AND and OR
SERVER-13752 do not attempt to explode for sort with empty bounds