Fixed an error where an empty database caused the Content Source component to fail (in component tests).