qtscript: When asking for ALLIES or ENEMIES in enumRange() and enumArea(),
do not include features in the results. This closes ticket:3899.