Created the filterblock to handle the dataflow more gracefully.