Remove unnecessary returns. Refs #8938.