The alignment length calculation did not take into account that keys may be added to if they contained "\"", "=", ":", or "`". This gave an under calculation and resulted in index out of bounds when this happened to be the longest key.