This seems like a stupid mistake to make for someone who has colorblindness, especially after all the troubleshooting.
I do realize that's the point of the story, but I think it's a pretty pointless post. Just like this one I suppose...
TLDR instead of reading the post: code isn't always the problem, people can be stupid.