You did the right thing. Taking a baseball bat to someone just on the theory that he will eventually molest your child is definitely wrong and she’ll get time for it.
Having law enforcement officials pass flyers around the neighborhood warning people of this man's presence -- something that isn't done for any other kind of criminal, including CONVICTED MURDERERS -- might understandably lead someone to think this man deserved some particular "attention."