Set retrieval mode to `ALL` when using query type `CEYLON_CODE` (#671)