Fixed toLoad count when unloading a queued asset.

closes #1278
Merge branch 'origin/master'