This is not a bug. This type of command only works when added to the appropriate context menu. If you drag this command onto a toolbar, there is no layer context. I.e., how would the command know for what layer you want to build the feature selection for?If you tried dragging this command onto the feature layer context menu (where it already resides) it would work.Sorry,Jeff