Slight fixes to allow for null values.

We needed to accept null values for sticky post formatting, thus we made
some changes. we also fixed avatar photos in comments.

[branch: dev1.2.6]