I can confirm this is the way that Totara currently behaves when someone is unenrolled from a course and they are in progress they are still shown as In progress in their Record of Learning. Adding current course completion records to the Record Learning was included for reasons discussed in https://totara.community/mod/forum/discuss.php?d=16375#p44693
Is what you are wanting that the course progress to be reset when unenrolled from the course ? If a person is re-enrolled in the course then their previous progress wouldn't be able to be restored.
Maybe a better filter to filter out unenrolled - in progress records would help.