Fix for tracking last public/admin url.