Remove redundant isNull() check - isEmpty is a superset of isNull