Fixing a bug with runs that were not accepted