Added check for dashboard in URL

Change-Id: If353b319b87e4ea8bf9718b7c39f3aa11a7c2d22
diff --git a/xos/core/templatetags/core_tags.py b/xos/core/templatetags/core_tags.py
index 6d533d7..a692193 100644
--- a/xos/core/templatetags/core_tags.py
+++ b/xos/core/templatetags/core_tags.py
@@ -19,7 +19,7 @@
 
     active = None
     for d in dashboards_list:
-        if str(d.id) in request.path:
+        if str(d.id) in request.path and "admin/dashboard" in request.path:
             active = d.id
 
     if active is None and ("/admin/" == request.path or "/" == request.path):