selectQueryWithCorrectType introduceren