Fix compare with true

Signed-off-by: Bruno Friedmann <bruno@ioda-net.ch>
Last modification - 2014