Remove block 'if' when save a module.
Merge pull request #2 from joaquimserafim/mongodb_issue

Remove block 'if' when save a module.