Fixed UUID matching code - was using objects on one side and unicode on
the other