Add missing return - closes #1114