Fixed TTT bug

- Added entity context restrictions.
- Fixed bug where the default rank would disappear (the rank data, not
just become invisible).