Prevent duplicate wards in cucumber