Validates nested <replaced-method> in <bean>