Removed triple negations from all conditions. Do not know why I put them there in the first place -.-