Bug fix with constant

Just stopped by this issue, while I was testing some requests via CLI. Sorry, that I'm not able to send a pull request now (traveling).