Fixed NPE when synonym list is empty