Fix bug in dataProcessingBlockForClass when processing array responses