Properly passing filter data