Result of empty mysql aggregation is NULL not FALSE