Guard against missing attributes hash