Be more defensive when the index wasn't registered
Test behaviour with unregistered indexes