Makes sure index create or mapping update not fail if mapping type does not exist.