Fixed bug in phase 1 of PInactivationDecoding