Fixed bug where empty terminal not being sent to workspace 4