Make _get_matches not die if a GlobalOccuranceCount for a match doesn't exist. Just do some critical logging instead.
Remove shlex, which doesn't support unicode, do some better parsing (which supports fields) ourselves.