Bug reproduction script and bug fix in Customer getOrCreate method.