Fix access variants query. Update paths on export.