[median_maintainer] Fix syntax errors etc