Fixed bugg for unrolled filtering