Fix ticket inclusion logic for #79.