Fixed issue with the Factor-loading query.