Cleanup fetchError's select statement.