Fixes type in set syntax