Requery Plots when saving them via the API to get collection UDF ids

Fixes #1534