there are cases in which @cursor_id is nil so .zero? throw an error but == 0 just returns false.  I'm going to stick with == 0