Log evaluation fix