Fixed a bug where clauses for a multifile predicate would not be found if the entity holding the primary declaration defined no clauses for the predicate