Implemented Top/Bottom/First/Last filter for PDI