refs #1626: bugfix: change code to match webslice function