Could be any number of reasons for this
in reply to Why upvote code if it doesn't work?
The monk posting is well respected and/or really popular and is getting the vote because they are usually right and/or just plain popular.
The monk voting looked at the code, thought it looked right and voted on it..hey, the poster made a mistake, it is possible that the voter did to...we are only human
the person voting was just trying to use up all their votes so they could get some XP....don't tisk, everyone has done it at some point ;-)
If you notice that a post is wrong, then go ahead and (gently) correct the poster with your own post....we are all here to learn something and you don't learn if nobody points out your mistakes.