Resource index - fix ontology submission validity for test controller.