If you have been back in Qatar for 7 months in the last 2 years, the visa system may not have cancelled your visa, since you were here in Qatar.

I thought visas are only cancelled if you are actually out of the country for a long time.