Fix <select> field bug.

You shouldn't check the contents of a property you just implicitly declared empty.