Remove wrong method call

The invocation of the method `parent` will cause TypeError since `after` is evaluated to false.