/api/comments?type=hazard query working.

md5sum a.out
332c7390ec20a962580f9d0bfce93e4c  a.out

Fixed type checking on comments?type queries.