Corrected bug in status score computing