Updated transactions controller to construct filters object