Fixes the problem where elm.select2( 'val', elm.val() ) was called wit elm.val() equal null