Doing a water change and cleaning your filter at the same time should not cause a problem at all. There is very few if any bacteria in the water itself the majority is in your filters. Now cleaning both filters at the same time I can see this causing a problem but not a water change and a filter at the same time. I think you need to do some digging because I think your problem lies else were.