refactor: removed a duplicate condition test. thanks Hungpu DU for the report in #29.