Fix typo in hasClass check when reopening Chosen