Fixing duplicate parameter issue

closes #2645