Before there was need to have both .relabel_aliases() and .clone() for many structs. Now there is only relabeled_clone() for those structs where alias is the only mutable attribute.
Also added a little improvement to sql/query.py to get rid of non-necessary IS NOT NULL check.