Issue #3477020 by strykaizer, drunken monkey: Fixed bug in database backend regarding nested conditions for OR facets.