Fixed sql syntax that was causing "My Recent Activities" dashboard to fail for filter value all and SQL Server environment