Small performance improvement when compiling entity clauses