Handling cases where annotation query is not provided.