Fixed issue with syntax check of select into queries when no target queue was present.