fix search specs to work correctly with dependent destroy changes