[4.2] fix bug 'cache paginated query with key' reformat code