Fix strange QVariant bug (windows specific)

A stored "True" value evaluated to 0 (on windows, else it evaluated to
1) when using the toInt method..
Use more precise interval selector