Fixed bug related to custom element not appearing on search filter

$(thd).find(">span").append(celm); never worked because $(thd).find(">span") never returned anything because the < span > element is never a direct child of the < table > element