Added check for null value
Fixed chosen sellect all, sellect none functionality when multiple instances on page