Fixed bad implicit conversion.