tries to fix period filter; fixes #24