Fixed bug in constraining args values