IB Pages: check if the number of errors are defined before adding them