Fixed getDeals bug and local db wishlist bug