Fix Get-DbaDbBackupHistory -Last when executed against an instance with log-shipping secondary databases  (#7779)
Fix Get-DbaDbBackupHistory -Last when executed against an instance with log-shipping secondary databases  (#7779)


wsmelton/dbatools,kozloski/dbatools