Bounds check in hunt for empty WebDAV directory problem