In the advice `rename-async-buffer' to `shell-command': try harder to find an inactive "*Async Shell Command*" buffer.