Fixes #3529: only allow nodes with valid UUID