Hide reference if its empty.