Protest threat caused concern at military funeral