Fixing WidgetInstanceType & ResourceRightsRepository prepared statements.
Fixing prepared statements.
Fixing messages user selection.
Merge pull request #122 from ngodfraind/bugfix

Bugfix