Resolved bug in authors comparison

added debug logs, some minor changes