Fix usage of exec_query in a spec that was treating the result as an array rather than relation