Took the opportunity to fix a bug where the selectByExpression action was not disabled when a raster layer was selected.