Index: branches/5.2.x/core/install/upgrades.sql
===================================================================
diff -u -N -r14635 -r14636
--- branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14635)
+++ branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 14636)
@@ -2140,3 +2140,5 @@
 INSERT INTO Events (EventId, Event, ReplacementTags, Enabled, FrontEndOnly, Module, Description, Type, AllowChangingSender, AllowChangingRecipient) VALUES(DEFAULT, 'ROOT.RESET.PASSWORD', NULL, 1, 0, 'Core', 'Root Reset Password', 1, 1, 0);
 
 ALTER TABLE Skins ADD DisplaySiteNameInHeader TINYINT(1) NOT NULL DEFAULT '1';
+
+DELETE FROM PersistantSessionData WHERE VariableName LIKE 'formsubs_Sort%' AND VariableValue = 'FormFieldId';
