Fix incorrect usage of inArray causing problems with favorites lists.