Fixes #237 - rewrote logic around last visit time.

This item fixes the incorrect logic that made it so only offline users saw the effects of a profile from a user who has made themselves invisible.