Fixed bug in entities.js that prevented toplevel non-query elements from being displayed
in active elements slideout.