add condition for single-element "numeric" arrays

see http://bugs.jquery.com/ticket/14179