Dual mode bug fixes.

closes #5149, #4999, #5094