Fix license logic

`dual` equals to `OR`, `multi` to `AND`; they were inverted.