Add workarround for spl_object_hash collision