Fixes bug when blank posts are submitted