changed pop and shift filters to proxies ruby calls see #2892

`popped` and `shifted` host pop and shift return.  Last line of both methods are useless.
Do you want me to do another PR ?