Removed the has to be greater than part. It seems to work ok.

If networks switching becomes a problem I might have to keep track of that and put in a short circuit so it doesn't get into a loop.