Pending tasks resources calculated properly