[Issue 7901] slapschema reports error but returns 0