Don't look for labels past function borders.