The actual variable isn't an array, so this test will never succeed. Remove it. Unbreaks ntp.