CORE-5955: replaced a call to medley/remove-vals with a call to a similar function that was already being used :$