Selecting methods in ClassMethodMap (used to determine when to run AfterClass methods) fixed.

Fix for: https://github.com/cbeust/testng/issues/440