Fixed wrong reset() usage
Mark as unread button now works in Drupal 7 module