Found a bug

Commit now to correct bug.