Style: Use ternary operator when able
Maint: Force invalid hash data as undefined