SimpleORMap now adds a 'where' to sql conditions, that doesn't *start* with 'where', not just simply doesn't contain 'where'. There where problems when using nested statements, that contained 'where', but not in the beginning.

git-svn-id: svn://develop.studip.de/studip/trunk@31349 c5b85792-5220-0410-ad23-ed5b6b8ad999