Fixed bug with incorrect task display name length detection