Rearrange marking dependencies as scheduled in the resolver impl.
Rearrange marking dependencies as scheduled in the resolver impl.

The queued dependencies will only actually be scheduled after some additional checks pass, so mark them as scheduled only after the checks pass.

afex/librarian,carlossg/librarian,applicationsonline/librarian