Fix Issue #2

Fix a requirement check bug. Issue #2.