Fixes ES error on empty collections
Imports full path for assets