Changed the context weight to not change if it is -1