Core: Fix loop issue when jQuery object present