Fixed logic error with hunting log links