Clean up parse_tags and ag tab completion