Fix state names without a space

The change to fix statenames with a space had a misplaced question mark.
This patch corrects that so that all state names work correctly. Sorry about that.