Simplified and corrected missing block handling