diff --git a/stechuhr_server/server.py b/stechuhr_server/server.py
index 3392314d9e0731fb8ec6d50d564744e7929dad72..485180d7609c1db7d70b7b59541f182a00b219de 100644
--- a/stechuhr_server/server.py
+++ b/stechuhr_server/server.py
@@ -108,7 +108,7 @@ def is_valid_data(data: dict) -> bool:
     Check if the body data of the request is valid
     """
     expected_keys = ["location", "entrance", "direction", "id"]
-    expected_directions = ["in", "out"]
+    expected_directions = ["in", "out", "both"]
     has_all_keys = all([k in data.keys() for k in expected_keys ])
 
     # Check if all needed keys are contained
@@ -305,7 +305,7 @@ def filter_current_visitors(visitors: list, hours: int=24) -> list:
 
             last_movement = None
 
-            if len(incomings) == 0:
+            if len(incomings) == 0
                 # Visitor was only moving out in the last 24h, so they are not here
                 continue
             elif not len(outgoings) == 0: