Only filter the first string in the list

Other strings would not be docstrings.