Correct refs_field implementation
Documentation for Query Expressions, annotations and aggregates.