Fixed bugs, fixed restful delete, added support for the graduate filter

Please note this will now only work with new database format.