Uninitialized constant was causing unexpect stepping behaviour