Fix for ResolveAll
A fix was put into the last version which made named bindings work correctly, but this had a knock on effect where ResolveAll
doesnt actually resolve all, only things without names/ids. So have added a workaround for this issue.