Daniel Parkes will spend the two years behind bars after targeting two police constables, because he thought his partner was having an affair.