Change order of if-else branches in SideFacets.phtml