1. It's not good enough to simply have a clean filter. You have to sanitize the drum every 40-50 wash cycles.
2. Stop waiting half-a-day before switching clothes and such from the washing machine to the dryer. The sooner you switch after a wash cycle finishes the less likely micro portions of mold form on your clothes.