update the the way we fix cells in the map.

Now we first fix empty cells with incoming connections
then we fix cells with rails and wrong transition maps.
2 jobs for 188_refining_generator in 18 minutes and 39 seconds (queued for 15 seconds)
Name Stage Failure
failed
tests Tests
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: google-chrome: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'file:/builds/flatland/flatland/htmlcov/index.html'
ERROR: Job failed: command terminated with exit code 1