Comparing with 18 also will create the same issue as there are multiple Edge browser versions mapped to single EdgeHTML engine versions.
Please find modified patch which will show exact detected browser version till Edge Version 40. For Edge version < 40, error message will show version '<44'.