Switch from firstObject/lastObject to array access to solve Lion build issue
Bump to version 1.8.2