Check names to make sure they're not blank