Added an option to prevent certain dates using a date filter function

See issue #3