Yes. Use a hard brush to remove as much mold as possible. By removing mold and mold spores, this worry can be alleviated. Let the carpet completely dry. To remove any remaining spores, vacuum the carpet with a HEPA vacuum.