Prevented crash in potential bad data scenario.