diff --git a/src/main/java/de/prob2/jupyter/ProBKernel.java b/src/main/java/de/prob2/jupyter/ProBKernel.java
index bde37e6c38fc18cad27d9d6d9f2f40aa67281c50..95e5c6909545b61e580ca3cc28cf2b1f8831b369 100644
--- a/src/main/java/de/prob2/jupyter/ProBKernel.java
+++ b/src/main/java/de/prob2/jupyter/ProBKernel.java
@@ -443,9 +443,6 @@ public final class ProBKernel extends BaseKernel {
 			if (at <= split.getName().getEndPosition()) {
 				// The cursor is somewhere in the command name, show help text for the command.
 				return command.renderHelp();
-			} else if (at < split.getArgString().getStartPosition()) {
-				// The cursor is in the whitespace between the command name and arguments, don't show anything.
-				return null;
 			} else {
 				// The cursor is somewhere in the command arguments, ask the command to inspect.
 				return inspectCommandArguments(command, split.getArgString(), at);
@@ -513,9 +510,6 @@ public final class ProBKernel extends BaseKernel {
 				split.getName().getStartPosition(),
 				split.getName().getEndPosition()
 			);
-		} else if (at < split.getArgString().getStartPosition()) {
-			// The cursor is in the whitespace between the command name and arguments, don't show anything.
-			return null;
 		} else {
 			// The cursor is somewhere in the command arguments, ask the command to provide completions.
 			if (this.getCommands().containsKey(split.getName().getValue())) {