Fixed typo in id verification logic