Empty result handing in selectMetaData

Debug output cleanup.