Improved query search. Now it splits the output in from/to/nat matching.