Fix sessions not fetching proper RowId