Fix author and reason enabling logic