Corrected status check