Change Log 2013-12-08

1: Code Refactoring
Modified blocked dates select query to return a count of matching
records instead.
2: Use a simpler 0 = 0 comparison to filter records