Fixed a bug asking for number of nonexistant ticks