Switch the order of appending clauses in resolve