While not wrong, I feel that is too restrictive to calculate previous month by substracting one day. I suggest that you use the `remo.base.utils.go_back_n_months` function to get previous month.