Correctly checking for section collection class