Close #5: Add transaction filters. Fix total bug