Fixed SQL syntax (readability)
Modified how crons.php looks for new sequences & posts to process.