Removed unnecessary instance check, fixed Sphinx schema
Fixed Sphinx schema