[Vscale] Fix logic error checking for public_key (acu129277)