Fix SQLContainer paging and caching issue (#11199)

Change-Id: I884c0f0a27a124a49698b141ac63c93950df428d