Fixed bug in photo username relation.