[PLAT-4840,PLAT-5232] Fix error in earlier commit