Bug fix in WeakEQi path computation

Handle null-case (continue if not weak-equal)
Small optimization