Fix ifAnyMissingClasses to return false if no classes are missing

Fixes #1003
Merge branch '1.0.x'