Fix: cohorts get stuck when passing strings instead of numbers. (#3397)
Fix: cohorts get stuck when passing strings instead of numbers. (#3397)

* Fix: cohorts get stuck when passing strings instead of numbers.

Parse the value to get a number.

* Use parseInt for stage

* Remove redundant parseInt

getredash/redash,alexanderlz/redash,denisov-vlad/redash,alexanderlz/redash,getredash/redash,denisov-vlad/redash,chriszs/redash,getredash/redash,alexanderlz/redash,denisov-vlad/redash,chriszs/redash,denisov-vlad/redash,chriszs/redash,chriszs/redash,getredash/redash,alexanderlz/redash,denisov-vlad/redash,getredash/redash