If a query has no spatial component, then it's spatial component should be set to the whole world rather than null.  Then, the intersection here would be safe for all cases.