Fix validation for threads and posts
Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>