Corrected a bug: last bracket was not properly coloured anymore.