Fix a bug with modules and fixity declarations