Fix resolutions not working properly when resolving to branches, closes #818.

#818