Only pop an array if it really is an array. BUG # 963554