ensure that 'cluster' can be a factor

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/partykit@668 255f4249-2263-4417-b1ea-8498779e27a7