New named query to check common workspaces
 Removed useless console.log