Fix .storage_hint and .backend_hint handling

Spotted by ALan Jay.