That fix would work, but better use the newest MT5 bridge from version 2.40 or from the link in the bug list.