Fix favorite toggling.