Subqueriese sql coverage fix