redis plugin: fix issue found by master aggregation tests