WebBasket: fix displaying deleted records bug
- Fixes the basket display function when displaying previously deleted records so that it does not assume it is an external source item and redirects it to the tmpl_create_pseudo_item() function.
- Adds an extra check for empty items to the tmpl_create_pseudo_item() function to prevent the above from happening.