add looking forward and back in filtered_forms clean up boundaries