Update from 5.4 to 5.36.1 : problem to Update smart groups to rename filters on case_from and case_to to case_start_date and case_end_date
Those upgrade steps are updating particular fields in smartgroups.  If you don't have any smart groups using those fields, it won't matter... but if those steps are failing it suggests you do have affected smart groups and those won't work correctly.  You could delete those groups and recreate them.
But the underlying question is why is the upgrade hitting problems?  If for example the field renames have failed, that will cause you more trouble in the future.  I suggest you post the errors from the logs for the failing upgrade steps so we can diagnose the cause.