Minor JavaScript fix when multiple select-style edit lists appear on the same page