Fix, I hope, maximum recursion depth reached when rendering sugery_type