This bug has been fixed on master (commit cd82bf377e7fad2409c76bf8b241920692f34fda) and the fix will be in the 1.18.1 patch release.