Move routing loop check from receiver to router