LPS-50176 fix the equals method in AOP