Fix assert checking binary field