Use constFirst() instead if first() for temporaries
... to avoid possible detaches of shared containers. Found by clazy.