Improve link filter