Rename LoanQuery::filterEnded to filterCompleted