Use a better patch to prevent lossing prepopulated values upon Ajax.
Merge pull request #5666 from openscholar/5326-1

Use a better patch to prevent lossing prepopulated values upon Ajax.