changing receipts query to use notification id