fixed error in deleting empty elements from gene list, case reported by Yi. Thanks!