Fix file list colouring logic