UiT-21: Refactor block render code for search filters block.