Fixed bug in INJPLSCNT and EXTPLSCNT