Fix filter performance and add left fling functionality

Signed-off-by: Constantin MUSCĂ <constantin.musca@gmail.com>