Avoid exception for obviously wrong data