Fixed bug on creation of indexes against OUser and ORole the first time or when indexes are erased
Fixed compilation problem