Yury/empty start date bug fix

The spec looks good :-) but in the case that no pub_date range is given, this entire block should not be present in the query.