remove ternary operator in favour of

`and` in add_on_empty