Improved edd_remove_item_url() to ensure it always works with all permalink structures.