filter out 0 or None beginAt/endAt