Fixed more bugs in Spatial PDR (Esp. TDT Commands)