Fix auto scale domain for ordinal scale.

Close #1428.

Fix can be seen [here](http://jsfiddle.net/nLmn5ex1/9/)
Double parens in ternary above are unecessary