Fix isDamaged check for backwards compat