Added term in SQL statement.