Implement filtering by period type