Skip some queries and avoid null results