Fix error with 'Add existing record' using record_select (backport)

Backport of #229 for the **rails-3.2** branch.

Please, pull it and update the gem.