Your SET_PATCH call appears to be correct. Perhaps your plugin is not respecting the SET_PATCH call?

What is your exact warning message? Which broker plugin?