Fixed strange bug with javax.servlet.ServletContext