Fix bug in comparison of ReturnValuesWrapper objects