Fix binding redirect version comparison. The old code would do the wrong...

... comparison for the following case: oldVersion=0.0.0.0-4.0.0.0 and aname version 2.2. The major version is in range, but the minor was incorrectly considered out of range.