Allow filtering based on optional xpath for get between dates