Fixed deserialization of singleton nodes