fixes #14

$value, $selected and $posted now all behave consistently