Fixed #3461 : Reverse the check to exec version