Fixed an error that hosed up then handling of modules.