Fixing 1.3-1.4 upgrade bug with old data

--HG--
extra : source : e96d88ca0688d20b2783a702642116123a2c810d