The functionality of this script has been merged into the newest release of the
Master script for NetStumbler (set "UseDatabase" to True). And more - it will automatically create the database and tables for you and can filter. If you continue to have trouble with this thread's script, the "Master script" might be less hassle.