Well there's your problem ;) but experience indicates that if you sanitise the hose there don't seem to be any problems.
On reflection you could fill the upper tube with sanitiser before attaching the trap and then let it drain back in but it's hardly worth the effort IMO.
Or fit an inline filter?