Process const dependencies before the const itself

This reduces the amount of false positives (due to the parsing order) by quite
a bit.