Fixes bug 931907 - Fixed migration script from PSQL to ES.