Fixed validation bug preventing post from publishing

Signed-off-by: Elliot Condon <e@elliotcondon.com>