The FileSelector:get_filepaths() function incorrectly filters selected files due to a mismatch in path formats (relative vs. absolute). Fix the issue by converting relative file paths to absolute paths before doing the comparison. Use a set instead of re-scanning the table when filtering out duplicates.