[BUGFIX] Correctly insert session data after deleting them