Fixed upgrade/remove postrm syntax errors, in switch/case statements