Don't compare possibly-empty string! Add an x in front of both sides or something.