Added class type check in Money ==