Fix so favorites passed in can be either id or object