[FIX] Compatibility with lucene back

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@49762 b456876b-0849-0410-b77d-98878d47e9d5
[ENH] Expliciting operator precedence in absurdly complex condition, whoever wrote it should verify it's actually correct

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@49764 b456876b-0849-0410-b77d-98878d47e9d5
[MRG] Automatic merge, branches/12.x 49760 to 49764

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@49773 b456876b-0849-0410-b77d-98878d47e9d5