fix logic around plan week checks