filters were getting applied out-of-order