Added filtered summary function.