Fixes a few PLC/DTX bugs due to the recent decode API change