Bug fix that is caused by different max limits.

Signed-off-by: Tolga HOŞGÖR <fasdfasdas@gmail.com>