Another bug fix

I've been away from Bash for too long...