Fixed bug when checking for updates to an object (as opposed to an array)