If you add any change on a script, check that it appeared as a change on plastic, then CTRL+Z or just undo your change, when you go back to plastic the file will still be there but with the “Files are identical” blue label.
Is it really a bug or can I check some box to disable this behavior?