Fixed a bug where favorites weren't deleted