Correct ic if class has no ancestor.

Inner class selection did not work if the class was declared like
class foo:
(there is no parenthesis on that line). Go down one line even if we didn't
find any parenthesis.