Add additional check for handling both option and li element values i… …
…n select method. Add check to prevent double firing change event.