Some more changes

1) Address Dgoodwins concerns about sort oder. Only ignore where it makes sense.
2) Stop creating short lived oids in the match command
3) Use an integer to store then number of matched found to ignore using the len command