Fixed jquery bug for setting values on select fields

The same issue as for https://github.com/crowbar/barclamp-crowbar/pull/917