Added forceQuery param to resolveElement()