I must confess to having done this as well. The local council in my area has a lot of agapanthus on the side of the road and my workplace has a lot in the gardens. I've seen what they do when the flowers are finished - they just come along and cut everything off with a hedge trimmer. So, wanting to try growing some from seed, I assisted with their dead-heading...