code is of type string

fixes condition
Merge pull request #643 from humanmade/fix-conditional

Condition should not be strict