Fix for not recording stalls multiple times.