No, disallow_migrations occurs shortly before a new rebalance, the scan will still detect that migrations have started, when partitions are scheduled.
This was listed as an “improvement” not a “bug”. The functionality was correct before and was the best the server could provide at the time. Before scans had to wait for all namespaces to finish migration. With this change, if a particular namespace has finished migration then scans can operate on this namespace.