Ensure consistent indices regardless of user permissions

Fixed a small issue in the index renumbering.

As previously implemented, the indices displayed would change based on a the current users visibility.  This change ensures that the same note will always be displayed with the same index number.  Note that it will cause the numbering to no longer be consecutive if a user cannot view time entries or private notes.