Fix validation in platform-demos