Fix status sync issues

What do you think about it? @mbabker and @elkuku

Should fix: https://github.com/joomla/jissues/issues/407 and https://github.com/joomla/jissues/issues/402

$table->status values based on: https://github.com/joomla/jissues/issues/318#issuecomment-39342217