codeintel: Simplify committed at migrator batch selection query
Created by: efritz
There's no reason to lock here, there shouldn't be so much contention in these types of migration (the data here is medium size so I'm not to worried about double-computing some migration values).
I think the old query was also causing some transactions to abort with a deadlock.