[PLAT-4414] Fix test broken by additional checking in code