Remove empty 'then'