(slug = 'the-hut' or id = 'the-hut') or id in ( select target_id from aliases where source_id = 'the-hut' and type in ('slug','domain') ) and 1=1