Properly compare hashes in base64
Document smartlist_slice preconditions and assert them