Fix ForeignKeys in notification models

Also fix notifications view