avoid reading past service tag if the last child element has an error and returns a null model object