wms: The empty? check is not useful, removing it