GS-11348 Fixed bigger than bug. Added unit test

git-svn-id: svn://pc-lab14/SVN/xap/trunk/openspaces@154679 eb64e737-3616-4df0-8941-5ee2ae88103d