Changes to str*cmp functions. Fixes a couple more corner cases.