Issue #1129226 by drunken monkey: Fixed incorrect handling of facets deactivated for some search IDs.