Add field to pom to better compile. Add check to HC to avoid loops when checking reverse edges