Fixed another bug related to aliases cache clearing.