Log a warning if the component has no date
Fixed typo
Give warning when no modules are returned from database