Fixed bucket filter lists.

Needed to use inclusive boundary operators (<= and >=) instead of
exclusive (< and >).

Also updated code styling.