Bugfix behaviour Publishable

When we have a start date and a end date, published() didn't work.