Changed project_contract query.