Small fixes

1 job for release-3 in 2 minutes and 32 seconds
Status Job ID Name Coverage
  Test
failed #2616
make_test

00:02:32

 
Name Stage Failure
failed
make_test Test
AttributeError: 'ExtraJoinRestriction' object has no attribute 'rhs'

----------------------------------------------------------------------
Ran 203 tests in 19.308s

FAILED (errors=3)
build/makefilet/include/python.mk:79: recipe for target 'test-python' failed
make: *** [test-python] Error 1
ERROR: Job failed: exit code 1