[web] Added some MySQL error handling
[web] Added type filters