FIX -  incorrect logic in r5947


git-svn-id: http://svn.resourcespace.org/svn/resourcespace@6014 c08608d7-6e46-0410-86ca-f2a6f1370df5