Remove after type dependencies from arrays when they are done so that they can be correctly processed. TRQ-1914.