ivaynberg/select2 — pull request #2186 by mselley (2014-03-13 08:12:49+00:00)
Title: Fix issue #781

To fix issue #781.

Was a quick fix for me haven't seen any issues with the change.
But someone who knows the code base better may be able to spot issues.