Fixes .find() is undefined issue when sorting is enabled

See Issue #22 for more detail