See https://discourse.phabricator-community.org/t/traceback-rendering-task-query-in-dashboard/2450/.
It looks like this blames to D19126, which added some more complex constraint logic but overlooked "range" constraints, which are handled separately.