[PLAT-4796] Fix error from previous commit