Tasks distance representation fix.