Add missing is_404() check to this plugin