[4.2] fix bug 'cache paginated query with key' change for tests