The `retrieve_selected_points` function would treat points of non-bezier curves as selected if the handles were selected. And because the attributes `.selected_handle_left` and `.selected_handle_right` are created initialized to true for all points. The `retrieve_all_selected_points` would return that all points were selected. Only points of bezier curves should be used when getting the selection mask for handles. Pull Request: https://projects.blender.org/blender/blender/pulls/144824