Sort:  
if Thread.hasURL():
       ignore()
else: 
       display()

This would do it.

If you made your own Leo front-end that had that, I would use it instead haha.

It would be a bit more work than that, I'm not a dev, but someone could probably do a browser extension that achieved just this. I'm not that smart, though