I don't know. I just wonder whether the outlet is partially blocked by sludge, and water is getting beyond the pump but not to the drain, then slowly draining back into the machine overnight.
The water looks clean, and there are no smells. Think I'll try Tim's idea first. Run the DW on the hottest setting, with the filters in the machine, but not fitted.