Invalid UNION statement in generated Subset Scripts (Oracle)