Fallback to state_name if state association does not exist

Fixes #11