Again, if current.isNull(), you should ignore it and "continue;"