Make sure you actually click and enable search.
Trust me I do it a lot.
That, or they're armour stands wearing skulls. Press F3 and try to see if the "Looking At" shows up or not when you look at them.
There's also one server I know that you can disable using skulls in the server gui settings, if you're talking about the same server I'm thinking of.