Removed a typo.

More like copy paste error. Forgot to remove some of the code I duplicated.