Fix the type of Either, addressing copy-paste error.