Fixes badgelist view not displaying due to pathname not being set.