The check of which FireFox was buggy. Firefox is using the Gecko Engine, when you ask the version you get the Gecko Version and not the FireFox version.
So I added some code to perform the right check. You still use the Firefox version, the code will get the Gecko version