Fixes errors when opening Filters (issue #34)

Fix for issue #34

Used the proposed solution found here:
http://www.zoneminder.com/forums/viewtopic.php?f=29&t=21600&p=82691