(refs #415) Fix bug