Bug fixed in special case for PQA "has_data" test