Syntax-Error "all with"

I am getting a syntax error, when trying to delete volumes, that do not exist.
Is this a bug or working as expected?

reset
brick x 1 y 1 z 1
webcut volume 1 with plane xplane offset 0
 
# these work fine and remove the two parts
delete volume all with x < 0 
delete volume all with x > 0 
# no volume is left to delete, so this throws a syntax error
delete volume all with x > 0

Hello @ThomasUtz,
i think that is working as expected.

It probably should also state that no entities are specified, like it does for trying to move non existing entities.

grafik

When trying to delete a specific non existing id you would at least get the info that i was not found.
grafik

How does this syntax error currently effect your workflow?
You could try to “catch” this with using the python api.