Add another simplifying condition for log