Made the change checking code more robust

Made the editor change callback on the client more robust, using the actual
function data.