changed sum to max in sql
Merge branch 'master' of https://github.com/bhuddah/zoneminder_munin