Bugs can grow in the machine especially if it's mostly used on the cooler settings.
Run it empty on a hot setting a couple of times
Run it empty with a bit of bleach or vinegar
Check the household drains just in case - last time our machine had a nasty smell it was coming from the drains.
Good luck...
J M Barrie
September 2014