This is not an unknown index, it's a failure to specify an index and it will be checked by `resource_exists`. Remove this clause.