[datastores][common] Fix a bug that the session size was not descresed when a page is removed