Fixed an issue with LogOp with path filter.

LogOp was returning incorrect results when using a path filter without
the firstParent option set under certain conditions.
Updated the logic in countChanges for the web op to only count a change
if it was made on the merge commit itself.