Fix NoMethodError on untagged post

Untagged posts have a nil tags value (`{:tags => nil}`), which results in a NoMethodError.