Simplified conditional load check to avoid page build issues