Fix timing not working
Fix empty result when no filter.
Fix missing imports on average filter