Fixed LIMIT database error in list_quarantines
Fixed database error reporting
Fixed database error reporting