Fixes delete_matching bug in redis cache