Fixed typos which prevented the Bird-on-Nest sorter from functioning correctly.