Correction for module logic in the rebuild.