Welcome to our UiPath Forum!
It looks like a bug! Could you maybe share with us the project or at least more details (as per this topic)?
The best way to do that would be to submit the bug via our Studio feedback feature, see here:
#FeatureBlog - 19.7 - Send feedback or report bugs directly from Studio