Replaced usage of -firstObject with -objectAtIndex

for iOS 6.x SDK support.
Removed dead code.