BUG - c.ref and u.ref caused clash in the SQL query - now c.ref is aliased as "thisRef"

git-svn-id: http://svn.montala.net/svn/resourcespace@4749 c08608d7-6e46-0410-86ca-f2a6f1370df5