[12431] Fix check for spell incoming interval calculation. Correct a comment too.

(based on commit [12321] - bdd156a)