Fix hide-from-log option check