Allow usage of virtual fields also for layer w/o add attribute support

Fix #11168