Update assets/snippets/wayfinder/wayfinder.inc.php

proposed fix for Bug #3847 proposed by Johan van den Broek