Works on custom searches too.