Can you add a console log message when this is true?  It would be a good debug info for when a plugin isn't working.