add looking forward and back in filtered_forms clean up boundaries

Sounds good.  I'm gonna write some tests on this function to test edge conditions of datespan filtering.