fixing bug #5097
regression due to usage of strict comparison (=== and !==)
fixing bug #5095
regression due to incomplete code refactoring
fixing bug #5017
Bug #5087 : fixing bundle management problems
Bug #5097 : fixing technical error from Quizz application.