Fix in idat processing.

Fixed code when no filtering is applied.