Fix delay evaluation

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>