Fixed negative health issue with ternary assignment here.