Fixed bug with emitting null during comparison.