Dev Fixed issue where vendorspecific SQL was used.