Long term fix for link generation through admin-ajax action and redirect