added Contains method to matquery.