Fixed hash code to not introduce possible infinite recursion

Signed-off-by: JWESLEY <JWESLEY@L74E00-R9WFCT6.prod.travp.net>