Bugfix: logic of requirements check.