Added default null select in query.