Added a check for the peak intensity errors.
This is part of the bug fix for bug r17457 (https://gna.org/bugs/index.php?17457) reported by Maddy Strickland <M.Strickland att bristol dott ac dot uk>.
Authored by: bugman 2011-01-10
Parent: [r12178]
Child: [r12180]