Small fixes

1 job for 607-performance in 2 minutes and 38 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
failed #2611
make_test

00:02:38

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

----------------------------------------------------------------------
Ran 203 tests in 19.436s

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