Fix DRM warning detection