Stock entry cost is not showing in the profitability analysis report (for projects)

I created a project in ERPNext and did a stock issue against that project. When it issued the stock first time the system was showing the stock cost in the project costing section and it was reflecting in the profitability analysis report and P&L. However for the same project when I issued stock, in the project costing area it is showing the added cost however it does not show in the profitability analysis report and P&L