Fixes array index exception in log in CustomElementsAdvancedActivity

Our log was accessing the specials array outside the index bounds check.