Adding fix for #3.

Preventing exceptions if no records are found for a given domain.