LIB: Remove some dead code and useless comments
LIB: Remove a check that always evaluates to true
LIB: Minor performance improvement for the evidence table

Ticket #729