Fix minor bug in WebApplicationBase where raising notice if session variable contains array