PEEK-1406 Fix TypeError due to slice input from a Github contributor See merge request peek/util/soappy-py3!2