Fixed a type incompatibility.