Fix invalid check for size of interval in Geweke

Prevents specifying different interval values

(cherry picked from commit 2c9c585d6efa66cdab1139dd9daed956d8b03731)