Corrected FK relation between TimeReg and Module.