Issue separate warnings for an empty Company and an empty Department