Fix sidebar missing bug

Seems that missing flags are nil by default. Forgetting to set a default for sidebar for pages/posts caused them to lack a sidebar.