Fixing issue with redirect from admin