Fix: if we don't have pagination then we shouldn't show empty block.