Fix a fatal typo in the :nth-last-child pseudo class implementation.

Fixes #1089.