Fixes small issue when using against on-prem SP