Fixed issue in the query to search for updated punitive effects.