[PDT-4755] Fix integer as a string parsed to boolean