First, I have edited my response, it should be -filemask=.
Even if you insist on using deprecated "option exclude", you need to combine all masks into one. What you are doing that that every call to option exclude overwrite the previous value. They do not add-up. See
https://winscp.net/eng/docs/scriptcommand_option
E.g.
option exclude ".removed_logs; *_TOB_*; *_S17-*"