Fix -a '*' and -r '*'

Closes #1.